from applications.exts import ma
from marshmallow import fields


class CouponUserOutSchema(ma.Schema):
    id = fields.Integer()
    coupon_sn = fields.Str()
    openid = fields.Str()
    status = fields.Integer()
    text = fields.Str()
    add_time = fields.DateTime()
